package dao;

import java.util.Map;

public interface EmailDao {
    int insert(Map<String, String> properties) throws Exception;
    Map<String, String> select(int id) throws Exception;
    Map<Integer, String[]> selectMails(int folderId) throws Exception;
    void update(Map<String, String> properties) throws Exception;
    void updateFolder(Map<String, String> properties) throws Exception;
    void delete(int id) throws Exception;
}
